package Persistencia.Exception;

public class DAOException extends Exception{
	/**
     * Creates a new instance of <code>DAOException</code> without detail message.
     */
    public DAOException() {
    }


    /**
     * Constructs an instance of <code>DAOException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public DAOException(String msg) {
        super(msg);
    }

    public DAOException(Exception e) {
        throw new UnsupportedOperationException("Falha na obtenção dos dados.");
    }
}
